import React from 'react';
import router from './router/Index';
import { useRoutes } from 'react-router-dom'


const App = () => {
  let el = useRoutes(router)
  return (
    <div>{el}</div>
  )
}

export default App